Skip to main content
Version: 1.9 Forge

Reference

Besides the several interfaces for almost all of Vampirism's functionality, there are some classes that can be used to access Vampirism's functionality.

VampirismAPI

The VampirismAPI class is the central access point for all kind of registries.

VReference

Central location for all kind of static information/objects. this includes e.g. the faction objects of vampires and hunters, attributes, DamageSources, constants ...

VIngameOverlays

Contains all IGuiOverlays that are used by Vampirism, which are filled during Mod construction. Or use the respective IDs of the overlays.

Vampirism Forge Registries

Minecraft 1.19

All custom registries are using the VampirismRegistries class to store the registry key and registry supplier.

Minecraft 1.16-1.18

Vampirism's custom forge registries are not accessible through the API. They are not declared in the API ModRegistries.
But you can get them from the RegistryManager with RegistryManager.ACTIVE.getRegistry(...). Either use the RegistryEntry class or the resource location of the registry.

Registries

Following registries are currently available:

NameResourcelocationClass
Skillsvampirism:skillsISKill
Actionsvampirism:actionsIAction
Entity Actionsvampirism:entityactionsIEntityAction
Minion Tasksvampirism:miniontasksIMinionTask
Tasksvampirism:tasksTask
Refinementsvampirism:refinementIRefinement
Refinement Setsvampirism:refinement_setIRefinementSet